
import { service } from '@/service'

export const smsSendPage = (data?: any) => {
  return service.request({
    url: 'hbsys-system/sms/sendPage',
    method: 'POST',
    data
  })
}

export const smsTemplatPage = (data?: any) => {
  return service.request({
    url: 'hbsys-system/sms/templatPage',
    method: 'POST',
    data
  })
}

export const editTemplat = (data?: any) => {
  return service.request({
    url: 'hbsys-system/sms/editTemplat',
    method: 'POST',
    data
  })
}

export const smsSendBatch = (data?: any) => {
  return service.request({
    url: 'hbsys-system/sms/sendBatch',
    method: 'POST',
    data
  })
}

export const smsUpdRec = (data?: any) => {
  return service.request({
    url: 'hbsys-system/sms/updRec',
    method: 'POST',
    data
  })
}

export const smsDelRec = (data?: any) => {
  return service.request({
    url: 'hbsys-system/sms/delRec',
    method: 'POST',
    data
  })
}
